Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

interface System.​Numerics.​IRootFunctions<​TSelf>

Assembly: System.Runtime

Implemented Interfaces

Defines support for root functions.

Methods

static TSelf
Cbrt​(TSelf x)
Computes the cube-root of a value.
Returns The cube-root of <paramref name="x" /> .
x The value whose cube-root is to be computed.
static TSelf
Hypot​(TSelf x, TSelf y)
Computes the hypotenuse given two values representing the lengths of the shorter sides in a right-angled triangle.
Returns The square root of <paramref name="x" /> -squared plus <paramref name="y" /> -squared.
x The value to square and add to <paramref name="y" /> .
y The value to square and add to <paramref name="x" /> .
static TSelf
RootN​(TSelf x, int n)
Computes the n-th root of a value.
Returns The <paramref name="n" /> -th root of <paramref name="x" /> .
x The value whose <paramref name="n" /> -th root is to be computed.
n The degree of the root to be computed.
static TSelf
Sqrt​(TSelf x)
Computes the square-root of a value.
Returns The square-root of <paramref name="x" /> .
x The value whose square-root is to be computed.